package com.example.ymm.modules1.service.ms;

import java.util.List;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.ms.DEmployee;
import com.example.ymm.modules1.query.ms.DEmployeeQueryCriteria;

public interface DEmployeeService extends BaseService<DEmployee> {

    TableList<DEmployee> list(DEmployeeQueryCriteria criteria, YmPageDto ymPage);

    List<DEmployee> queryAll(DEmployeeQueryCriteria criteria);

    /**
     * 根据姓名获取tid 编号
     * 
     * @param name
     * @return
     */
    String getTidByName(String name);

    DEmployee getUserInfo(String userName);


}
